projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2680793
)
(w32_wnd_proc): Handle WM_GETMINMAXINFO message.
author
Geoff Voelker
<voelker@cs.washington.edu>
Sun, 14 Mar 1999 05:21:29 +0000
(
05:21
+0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Sun, 14 Mar 1999 05:21:29 +0000
(
05:21
+0000)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index f2086b587c9395c2a687b65f8d8aa97cdf034ebf..04fada87196ad6e04caf255508d39a2f18328e76 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-4429,6
+4429,12
@@
w32_wnd_proc (hwnd, msg, wParam, lParam)
goto dflt;
+ case WM_GETMINMAXINFO:
+ /* Hack to correct bug that allows Emacs frames to be resized
+ below the Minimum Tracking Size. */
+ ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++;
+ return 0;
+
case WM_EMACS_CREATESCROLLBAR:
return (LRESULT) w32_createscrollbar ((struct frame *) wParam,
(struct scroll_bar *) lParam);